#pragma once

#include <rclcpp/rclcpp.hpp>

namespace sensor::radar {

class CanTransreceiver;
class CanAdapter;

class RadarComponent : public rclcpp::Node {
public:
    RadarComponent(const rclcpp::NodeOptions& options);

private:
    void setupConfigures();
    void setupTansreceivers();
    void setupAdapters();

private:
    std::unordered_map<std::string, std::shared_ptr<CanTransreceiver>> can_devs_;
    std::unordered_map<std::string, std::shared_ptr<CanAdapter>> adapters_;
};

}